package Xiaofang.Homework.H4.W1;
//1
public class Test {
    public static void main(String[] args) {
        Lock l1=new Lock(true);
        Lock l2=new Lock(false);
        Thread t1=new Thread(l1);
        Thread t2=new Thread(l2);
        t1.start();
        t2.start();
    }
}
